import java.util.function.Consumer;
import java.util.function.Predicate;

public class FunctionDemo {

    public static void main(String[] args) {
        Predicate<Integer> predicate = i -> i > 0;
        System.out.println(predicate.test(-1));

        Consumer<String> consumer = s -> System.out.println(s);
        consumer.accept("Hello Evan");
    }
}
